package com.lyncs.ods.properties;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author alex
 * @date 2022/6/1 23:17
 * @description
 */
@AllArgsConstructor
@Getter
public enum EmailConfigSetting {
    /**
     * 验证码
     */
    CODE("WeLynk 邮箱验证码", "email/code.html", 10, 6),
    /**
     * 单据创建通知
     */
    TICKET_CREATE("新%s通知", "email/ods.html", null, null),
    /**
     * 单据更新通知
     */
    TICKET_UPDATE("%s变更通知", "email/ods.html", null, null),
    /**
     * 结算即将到期提醒
     */
    SETTLEMENT_EXPIRING("结算即将到期提醒", "email/settlement_expiring.html", null, null),
    /**
     * 结算到期提醒
     */
    SETTLEMENT_EXPIRED("结算已到期提醒", "email/settlement_expired.html", null, null),
    /**
     * 即将交付提醒
     */
    DELIVER_EXPIRING("即将到交付日期提醒", "email/deliver_expiring.html", null, null),
    /**
     * 交付到期提醒
     */
    DELIVER_EXPIRED("已到交付日期提醒", "email/deliver_expired.html", null, null),
    /**
     * 企业创建邀请
     */
    COMPANY_INVITE("企业创建邀请", "email/company_invite.html", null, null),
    ;
    /**
     * sign
     */
    private String name;
    /**
     * name
     */
    private String path;
    /**
     * expiration
     */
    private Integer expiration;
    /**
     * sms code length
     */
    private Integer length;
}
